package tqq.action.mediator;

public class BeanMediator implements Mediator{
	private Bean bean1;
	private Bean bean2;
	
	
	public void createMediator(){
		bean1 = new PeopleBean();
		bean2 = new AnimalBean();
	}
	
	public void initAll(){
		bean1.init();
		bean2.init();
	}
}
